﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="BSCSCampaignSMSPage.aspx.vb" Inherits="ccapps.BSCSCampaignSMS" %>
<%@ Register Assembly="ccapps" Namespace="ccapps.BillingNetControlLibrary" TagPrefix="cc1" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<!DOCTYPE HTML>

<html xmlns="http://www.w3.org/1999/xhtml">

<head id="Head1" runat="server">
    <meta http-equiv="content-type" content="text/html"; charset="iso-8859-9"/>
	<title>Campaign SMS Definition</title>

    <style type="text/css">
        .modalBackground
        {
            position: absolute;
            top: 0px;
            left: 0px;
            filter: alpha(opacity=60);
            -moz-opacity: 0.6;
            opacity: 0.6;
        }
        .popup
        {
            background-color: #ddd;
            margin: 0px auto;
            width: 350px;
            position: relative;
            border: Gray 2px inset;
        }
        .labelCss {
            display: inline-block;
            float: left;
            width: auto;
            height: auto;
            font-size:12px;
            font-family: 'Segoe UI',Arial, Helvetica;
            color:black;
        }
        .ddlCss {
		-webkit-appearance: none;  /*Removes default chrome and safari style*/
		-moz-appearance: none; /* Removes Default Firefox style*/
		width: 150px; /*Width of select dropdown to give space for arrow image*/
        height:27px;
		text-indent: 0.01px; /* Removes default arrow from firefox*/
		padding: 5px;
        vertical-align:central;
	    }
        .txtBoxCss {
            display: inline-block;
            float: left;
            width: 150px;
            height: 27px;
        }
        .buttonCss {
            display: inline-block;
            width: 10px;
            height: 27px;
        }
        .body{
            padding-left: 0;
            padding-right: 0;
            margin-left: auto;
            margin-right: auto;
            display: block;
            width: 800px;
        }
        #txtSmsText {
            width: 782px;
        }
        .auto-style2 {
            height: 21px;
        }
        .auto-style3 {
            width: 186px;
        }
    </style>

    <link rel="stylesheet" href="/../code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css"/>
    <script src="//code.jquery.com/jquery-1.10.2.js"></script>
    <script src="//code.jquery.com/ui/1.11.1/jquery-ui.js"></script>
    <link rel="stylesheet" href="/resources/demos/style.css"/>

    <script>
        maxL = 500;
        var bName = navigator.appName;
        function taLimit(taObj) {
            if (taObj.value.length == maxL) return false;
            return true;
        }

        function taCount(taObj, Cnt) {
            objCnt = createObject(Cnt);
            objVal = taObj.value;
            if (objVal.length > maxL) objVal = objVal.substring(0, maxL);
            if (objCnt) {
                if (bName == "Netscape") {
                    objCnt.textContent = objVal.length;
                }
                else { objCnt.innerText = objVal.length; }
            }
            return true;
        }
        function createObject(objId) {
            if (document.getElementById) return document.getElementById(objId);
            else if (document.layers) return eval("document." + objId);
            else if (document.all) return eval("document.all." + objId);
            else return eval("document." + objId);
        }

        function showSmsPanel(smsCode, smsIndex) {
            __doPostBack(smsCode, smsIndex);
            return false;
        }

        function isNumberKey(evt) {
            var charCode = (evt.which) ? evt.which : event.keyCode
            if (charCode == 44)
                return true;
            if ((charCode > 31 && (charCode < 48 || charCode > 57)))
                return false;

            return true;
        }

        function Slowly() {
            $('#<%= trSmsArea.ClientID%>').toggle("slow");
        }
    </script>

</head>
<body class="body">
    <form id="form1" runat="server">        
        <asp:UpdatePanel ID="pnlUpdate" runat="server" UpdateMode="Conditional" >
            <ContentTemplate>
                <asp:ScriptManager ID="MainScriptManager" runat="server" />



        <table id="MainTable" style="BORDER-COLLAPSE: collapse; border-spacing:10px;width:800px" border="0" runat="server">     
            <tr id="WorkingItem" runat="server" visible="false">
                <td class="auto-style5" width="100%" colspan="2">
                    <div id="div2" style="width:100%;vertical-align:middle;">
						<fieldset style="border-color:gray;">
                		    <center><asp:Label ID="lblWorkingItem" text="" runat="server" style="color:black;font-weight:normal;font-family:'Segoe UI',Tahoma, Arial;font-size:medium;" />	</center>
                        </fieldset>
                    </div>
            	</td>
            </tr> 
            <tr>
                <td colspan="2" class="auto-style2">
                    &nbsp;
                </td>
            </tr>
            <tr id="WorkingItems" runat="server" visible="true">
                <td colspan="2">
                    <div id="div10" style="width:100%;vertical-align:middle;">
						<fieldset style="border-color:gray;">
                            <table border="0" style="width:100%;">
                                <tr>
                                    <td class="auto-style5">
            		                    <asp:Label ID="Label1" text="* Çalışmak istediğiniz tarifeyi seçiniz: " style="font-family:'Segoe UI',Tahoma, Arial;" runat="server" />	
            	                    </td>
                                    <td class="auto-style7">
                                        <p style="text-align:right">
                                            <asp:dropdownlist id="ddlItemsToBeWorked" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss" style="font-family:'Segoe UI',Tahoma, Arial;">
                                                <asp:ListItem Text="Seçiniz" Value="0" Selected="True"></asp:ListItem>
                                            </asp:dropdownlist>
                                        </p>
                                    </td>
                                </tr>
                            </table>
                        </fieldset>
                    </div>
                </td>
            </tr>   
            <tr>
                <td colspan="2" class="auto-style2">
                    &nbsp;
                </td>
            </tr>   
            <tr id="SMSConfigurationStep1" runat="server" visible="false">
                <td colspan="2">
                    <div id="div11" style="width:100%;vertical-align:middle;">
						<fieldset style="border-color:gray;">
                            <table border="0" style="width:100%;">
                                <tr>
                                    <td class="auto-style5">
            		                    <asp:Label ID="Label2" text="* Tüm Ücret Grupları için ortak SMS Metni Girilsin mi? " style="font-family:'Segoe UI',Tahoma, Arial;" runat="server" />	
            	                    </td>
                                    <td class="auto-style7">
                                        <p style="text-align:right">
                                               <asp:dropdownlist id="ddlGeneralSMS" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss" style="font-family:'Segoe UI',Tahoma, Arial;">
                                               <asp:ListItem Text="Seçiniz" Value="0" Selected="True"></asp:ListItem>
                                               <asp:ListItem Text="Evet" Value="Yes"></asp:ListItem>
                                               <asp:ListItem Text="Hayır" Value="No"></asp:ListItem>
                                            </asp:dropdownlist>
                                        </p>
                                    </td>
                                </tr>
                            </table>
                        </fieldset>
                    </div>
                </td>
            </tr>   
            <tr>
                <td colspan="2" class="auto-style2">
                    &nbsp;
                </td>
            </tr>   
            <tr id="trSmsArea" runat="server" visible="false">
                <td colspan="2">
                    <table >
                        <tr>
                             <td colspan="2" class="auto-style2">
                                 &nbsp;
                             </td>
                         </tr>
                         <tr>
                             <td class="auto-style5" width="100%" colspan="2">
                                 <div id="div3" style="width:100%;vertical-align:middle;">
			             			<fieldset style="border-color:gray;">
                             		    <center><asp:Label ID="lblSMSTitle" runat="server" ForeColor="black" Text=" SMS Girişi: Welcome" style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;" />	</center>
                                     </fieldset>
                                 </div>
                         	</td>
                         </tr> 
                         <tr>
                             <td colspan="2" class="auto-style2">
                                 &nbsp;
                             </td>
                         </tr>
                         <tr>
                             <td>
                                  <div id="divSMSDay" style="width:100%;vertical-align:middle;">
										<fieldset style="border-color:gray;">
											<legend style="color:black;font-weight:normal;font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">SMS Günü</legend>  
                                            <asp:TextBox ID="txtSmsDay" placeholder="SMS'in gönderileceği günü giriniz.." runat="server"  onkeypress="return isNumberKey(event)" style="width:200px" AutoPostBack="True"  />                                            
                                        </fieldset>
                                    </div>
                                 <br />
                                 <div id="divSMSText" style="width:100%;vertical-align:middle;">
                                     <fieldset style="border-color:gray;">
                                         <legend style="color:black;font-weight:normal;font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">SMS Metni</legend>
                                            <textarea id="txtSmsText" placeholder="SMS metnini giriniz.."  runat="server" onkeypress="return taLimit(this)"  onkeyup="return taCount(this,'myCounter')" name="Description" rows="7" wrap="physical" cols="40" maxlength="500"></textarea>
                                            <p style="font-family:'Segoe UI',Tahoma, Arial;">Kullanılan karakter sayısı: <b><span id="myCounter" runat="server" style="font-family:SimSun,'Segoe UI',Tahoma, Arial;">0</span></b> </font><br/>
                                            <div id="divEnglishSMSpanel" runat="server" visible="false" style="width:100%;">
                                                <textarea id="txtEnglishSmsText" placeholder="İngilizce SMS metnini giriniz.."  runat="server" onkeypress="return taLimit(this)"  onkeyup="return taCount(this,'myCounterEng')" name="Description" rows="7" wrap="physical" cols="40" maxlength="500" style="width:100%;"></textarea>
												<p style="font-family:'Segoe UI',Tahoma, Arial;">Kullanılan karakter sayısı: <b><span id="myCounterEng" runat="server" style="font-family:SimSun,'Segoe UI',Tahoma, Arial;">0</span></b> </font><br/>
                                            </div>
                                            <div id="divSaveSMSpanel" runat="server" visible="false">
                                                <asp:button ID="btnCheckTurkishChars" runat="server" Text="Türkçe Karakterleri Düzelt" />
                                                <asp:button ID="btnSaveSMS" runat="server" Text="Kaydet"  />  
                                                <asp:button ID="btnCancelSave" runat="server" Text="Vazgeç" />  
                                                <asp:CheckBox ID="cbEnglishSMSrequest" Text="İngilizce SMS metni de girmek istiyorum" runat="server" style="font-family:'Segoe UI',Tahoma, Arial;" AutoPostBack="True"/>
                                            </div>
                                            <div id="divDeleteSMSpanel" runat="server" visible="false">
                                                <asp:button ID="btnDeleteSMS" runat="server" Text="Sil" />
                                                <asp:button ID="btnCancel2" runat="server" Text="Vazgeç" />  
                                            </div>
                                            <div id="divConfirmDeletepanel" runat="server" visible="false">
                                                <asp:button ID="btnConfirmDelete" runat="server" Text="SMS'i Silmeyi Onaylıyorum" />
                                                <asp:button ID="btnCancelDelete" runat="server" Text="Vazgeç" />
                                            </div>
                                            <br />
                                            <br />
                                            <asp:Label ID="lblSMSStatus" runat="server" ForeColor="red" Text="" Style="font-family:'Segoe UI',Tahoma, Arial;" />
                                         </fieldset>
                                     </div>
                             </td>
                         </tr>
                     </table>
                </td>
            </tr>

            <tr id="trCommitmentDetailSmsArea" runat="server" visible="false">
                <td colspan="2" >
                    <table style="width:100%">
                        <tr>
                             <td colspan="2" class="auto-style2">
                                 &nbsp;
                             </td>
                         </tr>
                         <tr>
                             <td class="auto-style5" width="100%" colspan="2">
                                 <div id="div12" style="width:100%;vertical-align:middle;">
			             			<fieldset style="border-color:gray;">
                             		    <center><asp:Label ID="lblCommitmentDetailSMSTitle" runat="server" ForeColor="black" Text=" SMS Girişi: Commitment Detail" style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;" />	</center>
                                     </fieldset>
                                 </div>
                         	</td>
                         </tr> 
                         <tr>
                             <td colspan="2" class="auto-style2">
                                 &nbsp;
                             </td>
                         </tr>
                         <tr>
                             <td>
                                 <div id="divCommitmentDetailSMSText" style="width:100%;vertical-align:middle;">
                                     <fieldset style="border-color:gray;">
                                         <legend style="color:black;font-weight:normal;font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Onay İsteme ve Onay Tamamlanma SMS Metinleri</legend>
                                            Onay İsteme SMS Metni:<br />
                                            <textarea id="txtConfirmRequestSmsText" placeholder="Onay İsteme SMS metnini giriniz.."  runat="server" onkeypress="return taLimit(this)"  style="width:100%" onkeyup="return taCount(this,'myCounterConfirmRequest')" name="Description" rows="7" wrap="physical" cols="40" maxlength="500"></textarea>
                                            <p style="font-family:'Segoe UI',Tahoma, Arial;">Kullanılan karakter sayısı: <b><span id="myCounterConfirmRequest" runat="server" style="font-family:SimSun,'Segoe UI',Tahoma, Arial;">0</span></b> </font><br/><br/><br/>
											Onay İsteme Ekran Metni:<br />
                                            <textarea id="txtConfirmRequestScreenText" placeholder="Onay İsteme Ekran metnini giriniz.."  runat="server" onkeypress="return taLimit(this)"  onkeyup="return taCount(this,'myCounterConfirmRequestScreen')" style="width:100%" name="Description" rows="7" wrap="physical" cols="40" maxlength="500"></textarea>
                                            <p style="font-family:'Segoe UI',Tahoma, Arial;">Kullanılan karakter sayısı: <b><span id="myCounterConfirmRequestScreen" runat="server" style="font-family:SimSun,'Segoe UI',Tahoma, Arial;">0</span></b> </font><br/><br/><br/><br/>
											Onay Tamamlanma SMS Metni:<br />
                                            <textarea id="txtConfirmCompleteSmsText" placeholder="Onay Tamamlanma SMS metnini giriniz.."  runat="server" onkeypress="return taLimit(this)"  style="width:100%" onkeyup="return taCount(this,'myCounterConfirmComplete')" name="Description" rows="7" wrap="physical" cols="40" maxlength="500"></textarea>
                                            <p style="font-family:'Segoe UI',Tahoma, Arial;">Kullanılan karakter sayısı: <b><span id="myCounterConfirmComplete" runat="server" style="font-family:SimSun,'Segoe UI',Tahoma, Arial;">0</span></b> </font><br/><br/><br/>
											Onay Tamamlanma Ekran Metni:<br />
                                            <textarea id="txtConfirmCompleteScreenText" placeholder="Onay Tamamlanma Ekran metnini giriniz.."  runat="server" onkeypress="return taLimit(this)"  style="width:100%" onkeyup="return taCount(this,'myCounterConfirmCompleteScreen')" name="Description" rows="7" wrap="physical" cols="40" maxlength="500"></textarea>
                                            <p style="font-family:'Segoe UI',Tahoma, Arial;">Kullanılan karakter sayısı: <b><span id="myCounterConfirmCompleteScreen" runat="server" style="font-family:SimSun,'Segoe UI',Tahoma, Arial;">0</span></b> </font><br/>
											
                                            <div id="divSaveSMSpanelCommitmentDetail" runat="server" visible="false">
                                                <asp:button ID="btnCheckTurkishCharsCommitmentDetail" runat="server" Text="Türkçe Karakterleri Düzelt" />
                                                <asp:button ID="btnSaveSMSCommitmentDetail" runat="server" Text="Kaydet"  />  
                                                <asp:button ID="btnCancelSaveCommitmentDetail" runat="server" Text="Vazgeç" />  
                                            </div>
											
                                            <div id="divDeleteSMSpanelCommitmentDetail" runat="server" visible="false">
                                                <asp:button ID="btnDeleteSMSCommitmentDetail" runat="server" Text="Sil" />
                                                <asp:button ID="btnCancel2CommitmentDetail" runat="server" Text="Vazgeç" />  
                                            </div>
                                            <div id="divConfirmDeletepanelCommitmentDetail" runat="server" visible="false">
                                                <asp:button ID="btnConfirmDeleteCommitmentDetail" runat="server" Text="SMS'i Silmeyi Onaylıyorum" />
                                                <asp:button ID="btnCancelDeleteCommitmentDetail" runat="server" Text="Vazgeç" />
                                            </div>
                                            <br />
                                            <br />
                                            <asp:Label ID="lblSMSStatusCommitmentDetail" runat="server" ForeColor="red" Text="" Style="font-family:'Segoe UI',Tahoma, Arial;" />
                                         </fieldset>
                                     </div>
                             </td>
                         </tr>
                     </table>
                </td>
            </tr>
            <tr>
                <td colspan="2" class="auto-style2">
                    &nbsp;
                </td>
            </tr>
            <tr id="trPGGeneralContent" runat="server" visible="false">
                <td id="pgGeneralContent" runat="server" colspan="2">
                    <table border="0" style="width:100%;">
                        <tr>
                            <td colspan="2" style="vertical-align:middle;text-align:center;height:150px">
                                <div id="div1" style="width:100%;vertical-align:middle;">
                                     <fieldset style="border-color:gray;">
                                         <legend style="color:black;font-weight:normal;font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Tüm Ücret Grupları</legend>
                                         <center>
                                         <table border="0" style="width:100%;">
                                             <tr>
                                                <td colspan="3" class="auto-style2" style="text-align:left">
                                                    <asp:Label ID="lblTariffBasePrice" runat="server" ForeColor="blue" Text="" Style="font-family:'Segoe UI',Tahoma, Arial;" /><br />
                                                </td>
                                            </tr>
                                             <tr>
                                                  <td>
                                                      <div id="divWelcomeGeneral" runat="server" style="border-style:dotted;width:250px" class="auto-style3" >   
                                                          <p style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Hoşgeldin SMSleri:</p><br />
                                                          <asp:RadioButtonList ID="rblWelcomePGGeneral" runat="server"></asp:RadioButtonList>
                                                          <br />
                                                          <asp:Label ID="lblPGGeneralW" runat="server" ForeColor="gray" Font-Italic="true" Font-Size="Smaller" Text=" Bu gruba girilmiş bir SMS bulunmamaktadır." />
                                                          <br />
                                                          <br />
                                                          <asp:LinkButton ID="lnkbtnWelcomeGeneral" runat="server">Yeni Hoşgeldin SMS'i Oluştur</asp:LinkButton>
                                                          <br />
                                                          <br />
                                                      </div>
                                                  </td>
                                                  <td>
                                                      <div id="divCommitmentGeneral" runat="server"  style="border-style:dotted;width:250px" class="auto-style3">    
                                                          <p style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Taahhüt Hatırlatma SMSleri:</p><br />
                                                          <asp:RadioButtonList ID="rblCommitmentPGGeneral" runat="server"></asp:RadioButtonList>
                                                          <br />
                                                          <asp:Label ID="lblPGGeneralC" runat="server" ForeColor="gray" Font-Italic="true" Font-Size="Smaller" Text=" Bu gruba girilmiş bir SMS bulunmamaktadır." />
                                                          <br />
                                                          <br />
                                                          <asp:LinkButton ID="lnkbtnCommitmentGeneral" runat="server">Yeni Taahhüt Hatırlatma SMS'i Oluştur</asp:LinkButton>
                                                          <br />
                                                          <br />
                                                      </div>
                                                  </td>
                                                  <td> 
                                                      <div id="divCommitmentDetailGeneral"  runat="server" style="border-style:dotted;width:250px" class="auto-style3">   
                                                          <p style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Taahhüt Detay SMSleri:</p><br />
                                                          <asp:RadioButtonList ID="rblCommitmentDetailPGGeneral" runat="server"></asp:RadioButtonList>
                                                          <br />
                                                          <asp:Label ID="lblPGGeneralCD" runat="server" ForeColor="gray" Font-Italic="true" Font-Size="Smaller" Text=" Bu gruba girilmiş bir SMS bulunmamaktadır." />
                                                          <br />
                                                          <br />
                                                          <asp:LinkButton ID="lnkbtnCommitmentDetailGeneral" runat="server">Taahhüt Detay SMS'lerini Oluştur</asp:LinkButton>
                                                          <br />
                                                          <br />
                                                     </div>
                                                  </td>
                                             </tr>
                                         </table>
                                             </center>
                                    </fieldset>
                                </div>                       
                                
                            </td>
                        </tr>   
                    </table>                    
                </td>                
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;
                </td>
            </tr>
            <tr id="trPG1Content" runat="server" visible="false">
                <td id="pg1Content" runat="server" colspan="2">
                    <table border="0" style="width:100%;">
                        <tr>
                            <td colspan="2" style="vertical-align:middle;text-align:center;height:150px">
                                <div id="div4" style="width:100%;vertical-align:middle;">
                                     <fieldset style="border-color:gray;">
                                         <legend style="color:black;font-weight:normal;font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Ücret Grubu 1</legend>
                                         <center>
                                         <table border="0" style="width:100%;">
                                             <tr>
                                                <td colspan="3" class="auto-style2" style="text-align:left">
                                                    <asp:Label ID="lblTariffNormalPricePG1" runat="server" ForeColor="blue" Text="" Style="font-family:'Segoe UI',Tahoma, Arial;" /><br />
                                                    <asp:Label ID="lblTariffNormalPricePG1withCommitment" runat="server" ForeColor="blue" Text="" Style="font-family:'Segoe UI',Tahoma, Arial;" /><br />
                                                </td>
                                             </tr>
                                             <tr>
                                                 <td colspan="3">
                                                     <asp:ListBox ID="lbPG1reasons" runat="server" style="width:100%;height:150px;"></asp:ListBox>
                                                 </td>
                                             </tr>
                                             <tr>
                                                  <td>
                                                      <div id="divWelcome1"  runat="server" style="border-style:dotted;width:250px;height:100%;" class="auto-style3" >   
                                                          <p style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Hoşgeldin SMSleri:</p><br />
                                                          <asp:RadioButtonList ID="rblWelcomePG1" runat="server"></asp:RadioButtonList>
                                                          <br />
                                                          <asp:Label ID="lblPG1W" runat="server" ForeColor="gray" Font-Italic="true" Font-Size="Smaller" Text=" Bu gruba girilmiş bir SMS bulunmamaktadır." />
                                                          <br />
                                                          <br />
                                                          <asp:LinkButton ID="lnkbtnWelcomePG1" runat="server">Yeni Hoşgeldin SMS'i Oluştur</asp:LinkButton>
                                                          <br />
                                                          <br />
                                                      </div>
                                                  </td>
                                                  <td>
                                                      <div id="divCommitment1" runat="server"  style="border-style:dotted;width:250px;height:100%;" class="auto-style3">    
                                                          <p style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Taahhüt Hatırlatma SMSleri:</p><br />
                                                          <asp:RadioButtonList ID="rblCommitmentPG1" runat="server"></asp:RadioButtonList>
                                                          <br />
                                                          <asp:Label ID="lblPG1C" runat="server" ForeColor="gray" Font-Italic="true" Font-Size="Smaller" Text=" Bu gruba girilmiş bir SMS bulunmamaktadır." />
                                                          <br />
                                                          <br />
                                                          <asp:LinkButton ID="lnkbtnCommitmentPG1" runat="server">Yeni Taahhüt Hatırlatma SMS'i Oluştur</asp:LinkButton>
                                                          <br />
                                                          <br />
                                                      </div>
                                                  </td>
                                                  <td> 
                                                      <div id="divCommitmentDetail1" runat="server"  style="border-style:dotted;width:250px;height:100%;" class="auto-style3">   
                                                          <p style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Taahhüt Detay SMSleri:</p><br />
                                                          <asp:RadioButtonList ID="rblCommitmentDetailPG1" runat="server"></asp:RadioButtonList>
                                                          <br />
                                                          <asp:Label ID="lblPG1CD" runat="server" ForeColor="gray" Font-Italic="true" Font-Size="Smaller" Text=" Bu gruba girilmiş bir SMS bulunmamaktadır." />
                                                          <br />
                                                          <br />
                                                          <asp:LinkButton ID="lnkbtnCommitmentDetailPG1" runat="server">Taahhüt Detay SMS'lerini Oluştur</asp:LinkButton>
                                                          <br />
                                                          <br />
                                                     </div>
                                                  </td>
                                             </tr>
                                         </table>
                                             </center>
                                    </fieldset>
                                </div>                       
                                
                            </td>
                        </tr>   
                    </table>                    
                </td>                
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;
                </td>
            </tr>
            <tr id="trPG2Content" runat="server" visible="false">
                <td id="pg2Content" runat="server" colspan="2">
                    <table border="0" style="width:100%;">
                        <tr>
                            <td colspan="2" style="vertical-align:middle;text-align:center;height:150px">
                                <div id="div5" style="width:100%;vertical-align:middle;">
                                     <fieldset style="border-color:gray;">
                                         <legend style="color:black;font-weight:normal;font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Ücret Grubu 2</legend>
                                         <center>
                                         <table border="0" style="width:100%;">
                                             <tr>
                                                <td colspan="3" class="auto-style2" style="text-align:left">
                                                    <asp:Label ID="lblTariffNormalPricePG2" runat="server" ForeColor="blue" Text="" Style="font-family:'Segoe UI',Tahoma, Arial;" /><br />
                                                    <asp:Label ID="lblTariffNormalPricePG2withCommitment" runat="server" ForeColor="blue" Text="" Style="font-family:'Segoe UI',Tahoma, Arial;" /><br />
                                                </td>
                                            </tr>
                                             <tr>
                                                 <td colspan="3">
                                                     <asp:ListBox ID="lbPG2reasons" runat="server" style="width:100%;height:150px;"></asp:ListBox>
                                                 </td>
                                             </tr>
                                             <tr>
                                                  <td>
                                                      <div id="divWelcome2" runat="server"  style="border-style:dotted;width:250px" class="auto-style3" >   
                                                          <p style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Hoşgeldin SMSleri:</p><br />
                                                          <asp:RadioButtonList ID="rblWelcomePG2" runat="server"></asp:RadioButtonList>
                                                          <br />
                                                          <asp:Label ID="lblPG2W" runat="server" ForeColor="gray" Font-Italic="true" Font-Size="Smaller" Text=" Bu gruba girilmiş bir SMS bulunmamaktadır." />
                                                          <br />
                                                          <br />
                                                          <asp:LinkButton ID="lnkbtnWelcomePG2" runat="server">Yeni Hoşgeldin SMS'i Oluştur</asp:LinkButton>
                                                          <br />
                                                          <br />
                                                      </div>
                                                  </td>
                                                  <td>
                                                      <div id="divCommitment2" runat="server"  style="border-style:dotted;width:250px" class="auto-style3">    
                                                          <p style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Taahhüt Hatırlatma SMSleri:</p><br />
                                                          <asp:RadioButtonList ID="rblCommitmentPG2" runat="server"></asp:RadioButtonList>
                                                          <br />
                                                          <asp:Label ID="lblPG2C" runat="server" ForeColor="gray" Font-Italic="true" Font-Size="Smaller" Text=" Bu gruba girilmiş bir SMS bulunmamaktadır." />
                                                          <br />
                                                          <br />
                                                          <asp:LinkButton ID="lnkbtnCommitmentPG2" runat="server">Yeni Taahhüt Hatırlatma SMS'i Oluştur</asp:LinkButton>
                                                          <br />
                                                          <br />
                                                      </div>
                                                  </td>
                                                  <td> 
                                                      <div id="divCommitmentDetail2" runat="server"  style="border-style:dotted;width:250px" class="auto-style3">   
                                                          <p style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Taahhüt Detay SMSleri:</p><br />
                                                          <asp:RadioButtonList ID="rblCommitmentDetailPG2" runat="server"></asp:RadioButtonList>
                                                          <br />
                                                          <asp:Label ID="lblPG2CD" runat="server" ForeColor="gray" Font-Italic="true" Font-Size="Smaller" Text=" Bu gruba girilmiş bir SMS bulunmamaktadır." />
                                                          <br />
                                                          <br />
                                                          <asp:LinkButton ID="lnkbtnCommitmentDetailPG2" runat="server">Taahhüt Detay SMS'lerini Oluştur</asp:LinkButton>
                                                          <br />
                                                          <br />
                                                     </div>
                                                  </td>
                                             </tr>
                                         </table>
                                             </center>
                                    </fieldset>
                                </div>                       
                                
                            </td>
                        </tr>   
                    </table>                    
                </td>                
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;
                </td>
            </tr>
            <tr id="trPG3Content" runat="server" visible="false">
                <td id="pg3Content" runat="server" colspan="2">
                    <table border="0" style="width:100%;">
                        <tr>
                            <td colspan="2" style="vertical-align:middle;text-align:center;height:150px">
                                <div id="div6" style="width:100%;vertical-align:middle;">
                                     <fieldset style="border-color:gray;">
                                         <legend style="color:black;font-weight:normal;font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Ücret Grubu 3</legend>
                                         <center>
                                         <table border="0" style="width:100%;">
                                             <tr>
                                                <td colspan="3" class="auto-style2" style="text-align:left">
                                                    <asp:Label ID="lblTariffNormalPricePG3" runat="server" ForeColor="blue" Text="" Style="font-family:'Segoe UI',Tahoma, Arial;" /><br />
                                                    <asp:Label ID="lblTariffNormalPricePG3withCommitment" runat="server" ForeColor="blue" Text="" Style="font-family:'Segoe UI',Tahoma, Arial;" /><br />
                                                </td>
                                            </tr>
                                             <tr>
                                                 <td colspan="3">
                                                     <asp:ListBox ID="lbPG3reasons" runat="server" style="width:100%;height:150px;"></asp:ListBox>
                                                 </td>
                                             </tr>
                                             <tr>
                                                  <td>
                                                      <div id="divWelcome3"  runat="server" style="border-style:dotted;width:250px" class="auto-style3" >   
                                                          <p style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Hoşgeldin SMSleri:</p><br />
                                                          <asp:RadioButtonList ID="rblWelcomePG3" runat="server"></asp:RadioButtonList>
                                                          <br />
                                                          <asp:Label ID="lblPG3W" runat="server" ForeColor="gray" Font-Italic="true" Font-Size="Smaller" Text=" Bu gruba girilmiş bir SMS bulunmamaktadır." />
                                                          <br />
                                                          <br />
                                                          <asp:LinkButton ID="lnkbtnWelcomePG3" runat="server">Yeni Hoşgeldin SMS'i Oluştur</asp:LinkButton>
                                                          <br />
                                                          <br />
                                                      </div>
                                                  </td>
                                                  <td>
                                                      <div id="divCommitment3" runat="server"  style="border-style:dotted;width:250px" class="auto-style3">    
                                                          <p style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Taahhüt Hatırlatma SMSleri:</p><br />
                                                          <asp:RadioButtonList ID="rblCommitmentPG3" runat="server"></asp:RadioButtonList>
                                                          <br />
                                                          <asp:Label ID="lblPG3C" runat="server" ForeColor="gray" Font-Italic="true" Font-Size="Smaller" Text=" Bu gruba girilmiş bir SMS bulunmamaktadır." />
                                                          <br />
                                                          <br />
                                                          <asp:LinkButton ID="lnkbtnCommitmentPG3" runat="server">Yeni Taahhüt Hatırlatma SMS'i Oluştur</asp:LinkButton>
                                                          <br />
                                                          <br />
                                                      </div>
                                                  </td>
                                                  <td> 
                                                      <div id="divCommitmentDetail3" runat="server"  style="border-style:dotted;width:250px" class="auto-style3">   
                                                          <p style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Taahhüt Detay SMSleri:</p><br />
                                                          <asp:RadioButtonList ID="rblCommitmentDetailPG3" runat="server"></asp:RadioButtonList>
                                                          <br />
                                                          <asp:Label ID="lblPG3CD" runat="server" ForeColor="gray" Font-Italic="true" Font-Size="Smaller" Text=" Bu gruba girilmiş bir SMS bulunmamaktadır." />
                                                          <br />
                                                          <br />
                                                          <asp:LinkButton ID="lnkbtnCommitmentDetailPG3" runat="server">Taahhüt Detay SMS'lerini Oluştur</asp:LinkButton>
                                                          <br />
                                                          <br />
                                                     </div>
                                                  </td>
                                             </tr>
                                         </table>
                                             </center>
                                    </fieldset>
                                </div>                       
                                
                            </td>
                        </tr>   
                    </table>                    
                </td>                
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;
                </td>
            </tr>
            <tr id="trPG4Content" runat="server" visible="false">
                <td id="pg4Content" runat="server" colspan="2">
                    <table border="0" style="width:100%;">
                        <tr>
                            <td colspan="2" style="vertical-align:middle;text-align:center;height:150px">
                                <div id="div7" style="width:100%;vertical-align:middle;">
                                     <fieldset style="border-color:gray;">
                                         <legend style="color:black;font-weight:normal;font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Ücret Grubu 4</legend>
                                         <center>
                                         <table border="0" style="width:100%;">
                                             <tr>
                                                <td colspan="3" class="auto-style2" style="text-align:left">
                                                    <asp:Label ID="lblTariffNormalPricePG4" runat="server" ForeColor="blue" Text="" Style="font-family:'Segoe UI',Tahoma, Arial;" /><br />
                                                    <asp:Label ID="lblTariffNormalPricePG4withCommitment" runat="server" ForeColor="blue" Text="" Style="font-family:'Segoe UI',Tahoma, Arial;" /><br />
                                                </td>
                                            </tr>
                                             <tr>
                                                 <td colspan="3">
                                                     <asp:ListBox ID="lbPG4reasons" runat="server" style="width:100%;height:150px;"></asp:ListBox>
                                                 </td>
                                             </tr>
                                             <tr>
                                                  <td>
                                                      <div id="divWelcome4" runat="server"  style="border-style:dotted;width:250px" class="auto-style3" >   
                                                          <p style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Hoşgeldin SMSleri:</p><br />
                                                          <asp:RadioButtonList ID="rblWelcomePG4" runat="server"></asp:RadioButtonList>
                                                          <br />
                                                          <asp:Label ID="lblPG4W" runat="server" ForeColor="gray" Font-Italic="true" Font-Size="Smaller" Text=" Bu gruba girilmiş bir SMS bulunmamaktadır." />
                                                          <br />
                                                          <br />
                                                          <asp:LinkButton ID="lnkbtnWelcomePG4" runat="server">Yeni Hoşgeldin SMS'i Oluştur</asp:LinkButton>
                                                          <br />
                                                          <br />
                                                      </div>
                                                  </td>
                                                  <td>
                                                      <div id="divCommitment4" runat="server"  style="border-style:dotted;width:250px" class="auto-style3">    
                                                          <p style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Taahhüt Hatırlatma SMSleri:</p><br />
                                                          <asp:RadioButtonList ID="rblCommitmentPG4" runat="server"></asp:RadioButtonList>
                                                          <br />
                                                          <asp:Label ID="lblPG4C" runat="server" ForeColor="gray" Font-Italic="true" Font-Size="Smaller" Text=" Bu gruba girilmiş bir SMS bulunmamaktadır." />
                                                          <br />
                                                          <br />
                                                          <asp:LinkButton ID="lnkbtnCommitmentPG4" runat="server">Yeni Taahhüt Hatırlatma SMS'i Oluştur</asp:LinkButton>
                                                          <br />
                                                          <br />
                                                      </div>
                                                  </td>
                                                  <td> 
                                                      <div id="divCommitmentDetail4" runat="server"  style="border-style:dotted;width:250px" class="auto-style3">   
                                                          <p style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Taahhüt Detay SMSleri:</p><br />
                                                          <asp:RadioButtonList ID="rblCommitmentDetailPG4" runat="server"></asp:RadioButtonList>
                                                          <br />
                                                          <asp:Label ID="lblPG4CD" runat="server" ForeColor="gray" Font-Italic="true" Font-Size="Smaller" Text=" Bu gruba girilmiş bir SMS bulunmamaktadır." />
                                                          <br />
                                                          <br />
                                                          <asp:LinkButton ID="lnkbtnCommitmentDetailPG4" runat="server">Taahhüt Detay SMS'lerini Oluştur</asp:LinkButton>
                                                          <br />
                                                          <br />
                                                     </div>
                                                  </td>
                                             </tr>
                                         </table>
                                             </center>
                                    </fieldset>
                                </div>                       
                                
                            </td>
                        </tr>   
                    </table>                    
                </td>                
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;
                </td>
            </tr>
            <tr id="trPG5Content" runat="server" visible="false">
                <td id="pg5Content" runat="server" colspan="2">
                    <table border="0" style="width:100%;">
                        <tr>
                            <td colspan="2" style="vertical-align:middle;text-align:center;height:150px">
                                <div id="div8" style="width:100%;vertical-align:middle;">
                                     <fieldset style="border-color:gray;">
                                         <legend style="color:black;font-weight:normal;font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Ücret Grubu 5</legend>
                                         <center>
                                         <table border="0" style="width:100%;">
                                             <tr>
                                                <td colspan="3" class="auto-style2" style="text-align:left">
                                                    <asp:Label ID="lblTariffNormalPricePG5" runat="server" ForeColor="blue" Text="" Style="font-family:'Segoe UI',Tahoma, Arial;" /><br />
                                                    <asp:Label ID="lblTariffNormalPricePG5withCommitment" runat="server" ForeColor="blue" Text="" Style="font-family:'Segoe UI',Tahoma, Arial;" /><br />
                                                </td>
                                            </tr>
                                             <tr>
                                                 <td colspan="3">
                                                     <asp:ListBox ID="lbPG5reasons" runat="server" style="width:100%;height:150px;"></asp:ListBox>
                                                 </td>
                                             </tr>
                                             <tr>
                                                  <td>
                                                      <div id="divWelcome5" runat="server"  style="border-style:dotted;width:250px" class="auto-style3" >   
                                                          <p style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Hoşgeldin SMSleri:</p><br />
                                                          <asp:RadioButtonList ID="rblWelcomePG5" runat="server"></asp:RadioButtonList>
                                                          <br />
                                                          <asp:Label ID="lblPG5W" runat="server" ForeColor="gray" Font-Italic="true" Font-Size="Smaller" Text=" Bu gruba girilmiş bir SMS bulunmamaktadır." />
                                                          <br />
                                                          <br />
                                                          <asp:LinkButton ID="lnkbtnWelcomePG5" runat="server">Yeni Hoşgeldin SMS'i Oluştur</asp:LinkButton>
                                                          <br />
                                                          <br />
                                                      </div>
                                                  </td>
                                                  <td>
                                                      <div id="divCommitment5" runat="server"  style="border-style:dotted;width:250px" class="auto-style3">    
                                                          <p style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Taahhüt Hatırlatma SMSleri:</p><br />
                                                          <asp:RadioButtonList ID="rblCommitmentPG5" runat="server"></asp:RadioButtonList>
                                                          <br />
                                                          <asp:Label ID="lblPG5C" runat="server" ForeColor="gray" Font-Italic="true" Font-Size="Smaller" Text=" Bu gruba girilmiş bir SMS bulunmamaktadır." />
                                                          <br />
                                                          <br />
                                                          <asp:LinkButton ID="lnkbtnCommitmentPG5" runat="server">Yeni Taahhüt Hatırlatma SMS'i Oluştur</asp:LinkButton>
                                                          <br />
                                                          <br />
                                                      </div>
                                                  </td>
                                                  <td> 
                                                      <div id="divCommitmentDetail5" runat="server"  style="border-style:dotted;width:250px" class="auto-style3">   
                                                          <p style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Taahhüt Detay SMSleri:</p><br />
                                                          <asp:RadioButtonList ID="rblCommitmentDetailPG5" runat="server"></asp:RadioButtonList>
                                                          <br />
                                                          <asp:Label ID="lblPG5CD" runat="server" ForeColor="gray" Font-Italic="true" Font-Size="Smaller" Text=" Bu gruba girilmiş bir SMS bulunmamaktadır." />
                                                          <br />
                                                          <br />
                                                          <asp:LinkButton ID="lnkbtnCommitmentDetailPG5" runat="server">Taahhüt Detay SMS'lerini Oluştur</asp:LinkButton>
                                                          <br />
                                                          <br />
                                                     </div>
                                                  </td>
                                             </tr>
                                         </table>
                                             </center>
                                    </fieldset>
                                </div>                       
                                
                            </td>
                        </tr>   
                    </table>                    
                </td>                
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;
                </td>
            </tr>
            <tr id="trPG6Content" runat="server" visible="false">
                <td id="pg6Content" runat="server" colspan="2">
                    <table border="0" style="width:100%;">
                        <tr>
                            <td colspan="2" style="vertical-align:middle;text-align:center;height:150px">
                                <div id="div9" style="width:100%;vertical-align:middle;">
                                     <fieldset style="border-color:gray;">
                                         <legend style="color:black;font-weight:normal;font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Ücret Grubu 6</legend>
                                         <center>
                                         <table border="0" style="width:100%;">
                                             <tr>
                                                <td colspan="3" class="auto-style2" style="text-align:left">
                                                    <asp:Label ID="lblTariffNormalPricePG6" runat="server" ForeColor="blue" Text="" Style="font-family:'Segoe UI',Tahoma, Arial;" /><br />
                                                    <asp:Label ID="lblTariffNormalPricePG6withCommitment" runat="server" ForeColor="blue" Text="" Style="font-family:'Segoe UI',Tahoma, Arial;" /><br />
                                                </td>
                                            </tr>
                                             <tr>
                                                 <td colspan="3">
                                                     <asp:ListBox ID="lbPG6reasons" runat="server" style="width:100%;height:150px;"></asp:ListBox>
                                                 </td>
                                             </tr>
                                             <tr>
                                                  <td>
                                                      <div id="divWelcome6"  runat="server" style="border-style:dotted;width:250px" class="auto-style3" >   
                                                          <p style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Hoşgeldin SMSleri:</p><br />
                                                          <asp:RadioButtonList ID="rblWelcomePG6" runat="server"></asp:RadioButtonList>
                                                          <br />
                                                          <asp:Label ID="lblPG6W" runat="server" ForeColor="gray" Font-Italic="true" Font-Size="Smaller" Text=" Bu gruba girilmiş bir SMS bulunmamaktadır." />
                                                          <br />
                                                          <br />
                                                          <asp:LinkButton ID="lnkbtnWelcomePG6" runat="server">Yeni Hoşgeldin SMS'i Oluştur</asp:LinkButton>
                                                          <br />
                                                          <br />
                                                      </div>
                                                  </td>
                                                  <td>
                                                      <div id="divCommitment6" runat="server"  style="border-style:dotted;width:250px" class="auto-style3">    
                                                          <p style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Taahhüt Hatırlatma SMSleri:</p><br />
                                                          <asp:RadioButtonList ID="rblCommitmentPG6" runat="server"></asp:RadioButtonList>
                                                          <br />
                                                          <asp:Label ID="lblPG6C" runat="server" ForeColor="gray" Font-Italic="true" Font-Size="Smaller" Text=" Bu gruba girilmiş bir SMS bulunmamaktadır." />
                                                          <br />
                                                          <br />
                                                          <asp:LinkButton ID="lnkbtnCommitmentPG6" runat="server">Yeni Taahhüt Hatırlatma SMS'i Oluştur</asp:LinkButton>
                                                          <br />
                                                          <br />
                                                      </div>
                                                  </td>
                                                  <td> 
                                                      <div id="divCommitmentDetail6" runat="server"  style="border-style:dotted;width:250px" class="auto-style3">   
                                                          <p style="font-family:'Segoe UI',Tahoma, Arial;font-size:medium;">Taahhüt Detay SMSleri:</p><br />
                                                          <asp:RadioButtonList ID="rblCommitmentDetailPG6" runat="server"></asp:RadioButtonList>
                                                          <br />
                                                          <asp:Label ID="lblPG6CD" runat="server" ForeColor="gray" Font-Italic="true" Font-Size="Smaller" Text=" Bu gruba girilmiş bir SMS bulunmamaktadır." />
                                                          <br />
                                                          <br />
                                                          <asp:LinkButton ID="lnkbtnCommitmentDetailPG6" runat="server">Taahhüt Detay SMS'lerini Oluştur</asp:LinkButton>
                                                          <br />
                                                          <br />
                                                     </div>
                                                  </td>
                                             </tr>
                                         </table>
                                             </center>
                                    </fieldset>
                                </div>                       
                                
                            </td>
                        </tr>   
                    </table>                    
                </td>                
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;
                </td>
            </tr>
            <tr id="trNextStep1" runat="server">
                <td colspan="2" style="text-align:right">
                    <asp:button id="btnNextStep1" runat="server" CausesValidation="False" Text="Tamamla" class="button01" onClientClick="Slowly" ClientIDMode="Static"  />
                    
                </td>
            </tr>                                                                                                                                                                                                   
            <tr>
                <td colspan="2">
                    <asp:Label ID="Label18" runat="server" ForeColor="red" Text=" * Zorunlu Alanlar" />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                     
                </td>
            </tr>

            <tr>
                <td style="width:800px; text-align:right" colspan="2">
                    <asp:button id="updateButton" runat="server" CausesValidation="False" Text="Taslağı Kaydet" class="button01"  />
                    <asp:button id="saveButton" runat="server" CausesValidation="False" Text="Kaydet" class="button01" />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label id="finalStatus" runat="server" ForeColor="Black" Font-Size="12px"/>
                </td>
            </tr>
        </table>
        </ContentTemplate>
        </asp:UpdatePanel>
        
    </form>
</body>
</html>
